package com.oracle.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ${author}
 * @since 2021-11-30
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @TableName("settlement")
public class Settlement extends Model<Settlement> {

    private static final long serialVersionUID = 1L;

      /**
     * ID
     */
        private Integer id;

      /**
     * 版本号
     */
      private Integer version;

      /**
     * 参与结算者
     */
      private String participant;

      /**
     * 结算金额
     */
      private BigDecimal amount;

      /**
     * 创建时间
     */
      private LocalDateTime createDate;

      /**
     * 修改时间
     */
      private LocalDateTime modifyDate;

      /**
     * 是否已删除
     */
      private Integer isDelete;


    @Override
    protected Serializable pkVal() {
          return this.id;
      }

}
